﻿@model String

<textarea asp-for="@Model">@ViewData.TemplateInfo.FormattedModelValue</textarea>
<!-- 配置文件 -->
<script type="text/javascript" src="~/admin/content/ueditor/ueditor-simple.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="~/admin/content/ueditor/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
    var uesimple = UE.getEditor('@Html.IdForModel()', { initialFrameHeight: 300, autoHeightEnabled: true });
    uesimple.ready(function () {
        uesimple.setHeight(300);
    });
</script>
